package com.platform.car.model;

import java.util.Date;

public class Cars {

    /**
     * 编号
     */
    private Integer id;

    /**
     * 用户的ID
     */
    private Integer userId;

    /**
     * 用户的名称
     */
    private String name;

    /**
     * 车牌号
     */
    private  String  numberPlates;

    /**
     * 备注
     */
    private  String  info;

    /**
     * 车架号
     */
    private String vin;

    /**
     * 发动机号
     */
    private String engineNo;

    /**
     * 证书编号
     */
    private String reportNo;

    /**
     * 查询城市
     */
    private String city;

    private String status;

    private Date  createTime;

    public Cars() {
    }

    public Cars(Integer id, Integer userId, String name, String numberPlates, String info, String vin, String engineNo, String reportNo, String city) {
        this.id = id;
        this.userId = userId;
        this.name = name;
        this.numberPlates = numberPlates;
        this.info = info;
        this.vin = vin;
        this.engineNo = engineNo;
        this.reportNo = reportNo;
        this.city = city;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getNumberPlates() {
        return numberPlates;
    }

    public void setNumberPlates(String numberPlates) {
        this.numberPlates = numberPlates;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getEngineNo() {
        return engineNo;
    }

    public void setEngineNo(String engineNo) {
        this.engineNo = engineNo;
    }

    public String getReportNo() {
        return reportNo;
    }

    public void setReportNo(String reportNo) {
        this.reportNo = reportNo;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Cars{" +
                "id=" + id +
                ", userId=" + userId +
                ", name='" + name + '\'' +
                ", numberPlates='" + numberPlates + '\'' +
                ", info='" + info + '\'' +
                ", vin='" + vin + '\'' +
                ", engineNo='" + engineNo + '\'' +
                ", reportNo='" + reportNo + '\'' +
                ", city='" + city + '\'' +
                '}';
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
